package com.example.test.主方法运行测试;


import java.io.IOException;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;

public class asdfa {
    public static void main(String[] args) throws IOException {
        final URL resource = asdfa.class.getResource("/db.setting");
        final Path path = Paths.get(resource.getPath().substring(1));
        final List<String> strings = Files.readAllLines(path);
        strings.forEach(s -> System.out.println(s));
    }
}
